Class: Freesound::Resources::User

Inherits:
Base
  • Object
show all
Defined in:
lib/freesound/resources.rb

Instance Method Summary collapse

Methods inherited from Base

element_path, get, #initialize, references

Constructor Details

This class inherits a constructor from Freesound::Resources::Base

Instance Method Details

#idObject

User resources are identified by their username, for example:

/api/people/alexgenco


91
92
93
# File 'lib/freesound/resources.rb', line 91

def id
  username
end