class Elance::Profile
Public Instance Methods
name_id(name_or_id) { |response| ... }
click to toggle source
GET profiles/name-or-id
# File lib/elance/profile.rb, line 22 def name_id(name_or_id, &block) response = self.class.get "/profiles/#{name_or_id}" yield(response) if block_given? response end
name_id_icon(name_or_id) { |response| ... }
click to toggle source
GET profiles/name-or-id/icon
# File lib/elance/profile.rb, line 29 def name_id_icon(name_or_id, &block) response = self.class.get "/profiles/#{name_or_id}/icon" yield(response) if block_given? response end
profile() { |response| ... }
click to toggle source
GET /profiles/my
# File lib/elance/profile.rb, line 8 def profile(&block) response = self.class.get "/profiles/my" yield(response) if block_given? response end
profile_icon() { |response| ... }
click to toggle source
GET /profiles/my/icon
# File lib/elance/profile.rb, line 15 def profile_icon(&block) response = self.class.get "/profiles/my/icon" yield(response) if block_given? response end