Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Whitespace fixes #135

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion instagram.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency('faraday', ['>= 0.7', '< 0.10'])
s.add_runtime_dependency('faraday_middleware', ['>= 0.8', '< 0.10'])
s.add_runtime_dependency('multi_json', '>= 1.0.3', '~> 1.0')
s.add_runtime_dependency('hashie', '>= 0.4.0')
s.add_runtime_dependency('hashie', '>= 0.4.0')
s.authors = ["Shayne Sweeney"]
s.description = %q{A Ruby wrapper for the Instagram REST and Search APIs}
s.post_install_message =<<eos
Expand Down
22 changes: 11 additions & 11 deletions lib/instagram/client/embedding.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
module Instagram
class Client
# Defines methods related to embedding
# Defines methods related to embedding
module Embedding
# Returns information about the media associated with the given short link
# Returns information about the media associated with the given short link
#
# @overload oembed(url=nil, options={})
# @param url [String] An instagram short link
# @param options [Hash] A customizable set of options
# @option options [Integer] :maxheight Maximum height of returned media
# @option options [Integer] :maxwidth Maximum width of returned media
# @option options [Integer] :callback A JSON callback to be invoked
# @return [Hashie::Mash] Information about the media associated with given short link
# @example Return information about the media associated with http://instagr.am/p/BUG/
# Instagram.oembed(http://instagr.am/p/BUG/)
# @overload oembed(url=nil, options={})
# @param url [String] An instagram short link
# @param options [Hash] A customizable set of options
# @option options [Integer] :maxheight Maximum height of returned media
# @option options [Integer] :maxwidth Maximum width of returned media
# @option options [Integer] :callback A JSON callback to be invoked
# @return [Hashie::Mash] Information about the media associated with given short link
# @example Return information about the media associated with http://instagr.am/p/BUG/
# Instagram.oembed(http://instagr.am/p/BUG/)
#
# @see http://instagram.com/developer/embedding/#oembed
# @format :json
Expand Down
2 changes: 1 addition & 1 deletion lib/instagram/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def post(path, options={}, signature=false, raw=false, unformatted=false, no_res
end

# Perform an HTTP PUT request
def put(path, options={}, signature=false, raw=false, unformatted=false, no_response_wrapper=no_response_wrapper)
def put(path, options={}, signature=false, raw=false, unformatted=false, no_response_wrapper=no_response_wrapper)
request(:put, path, options, signature, raw, unformatted, no_response_wrapper)
end

Expand Down