Module: RubyInstagram::Response

Defined in:
lib/ruby_instagram/response.rb

Class Method Summary collapse

Class Method Details

.create(response_hash) ⇒ Object



5
6
7
8
9
# File 'lib/ruby_instagram/response.rb', line 5

def self.create(response_hash)
  return response_hash.data if response_hash.respond_to?(:data)

  response_hash
end