Class: NextBigSoundLite::Service

Inherits:
Resource
  • Object
show all
Defined in:
lib/next_big_sound_lite/resources/service.rb

Class Method Summary collapse

Methods inherited from Resource

get, idfy, parse, post

Class Method Details

.listObject



11
12
13
14
15
# File 'lib/next_big_sound_lite/resources/service.rb', line 11

def self.list
  get resource do |response|
    idfy response
  end
end

.resourceObject



7
8
9
# File 'lib/next_big_sound_lite/resources/service.rb', line 7

def self.resource
  super 'services.json'
end