Class: EposNowClient::Resources::Locations

Inherits:
BaseResource show all
Defined in:
lib/epos_now_client/resources/locations.rb

Instance Attribute Summary

Attributes inherited from BaseResource

#connection

Instance Method Summary collapse

Methods inherited from BaseResource

#initialize

Constructor Details

This class inherits a constructor from EposNowClient::Resources::BaseResource

Instance Method Details

#all(params = {}) ⇒ Object



6
7
8
# File 'lib/epos_now_client/resources/locations.rb', line 6

def all(params = {})
  fetch_all_pages(params)
end

#find(id) ⇒ Object



10
11
12
# File 'lib/epos_now_client/resources/locations.rb', line 10

def find(id)
  fetch(id)
end