Class: Avm::RedditBase0::Api::Me

Inherits:
Entity
  • Object
show all
Defined in:
lib/avm/reddit_base0/api/me.rb

Constant Summary collapse

ENTITY_ROOT_URL_SUFFIX =
'/api/v1/me'

Instance Method Summary collapse

Methods inherited from Entity

#request_children, #request_data

Instance Method Details

#entity_root_url_suffixAddressable::URI

Returns:

  • (Addressable::URI)


20
21
22
# File 'lib/avm/reddit_base0/api/me.rb', line 20

def entity_root_url_suffix
  ENTITY_ROOT_URL_SUFFIX.to_uri
end

#identityHash

Returns:

  • (Hash)


15
16
17
# File 'lib/avm/reddit_base0/api/me.rb', line 15

def identity
  request_data
end