Class: Nebula::Location

Inherits:
Object
  • Object
show all
Defined in:
lib/nebula/location.rb

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Location

Returns a new instance of Location.



3
4
5
# File 'lib/nebula/location.rb', line 3

def initialize(client)
  @client = client
end

Instance Method Details

#allObject



7
8
9
# File 'lib/nebula/location.rb', line 7

def all
  client.request(:get, '/localidades/')
end