Class: EposNowClient::Resources::TenderTypes

Inherits:
BaseResource show all
Defined in:
lib/epos_now_client/resources/tender_types.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/tender_types.rb', line 6

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

#create_tender_type(attributes) ⇒ Object



14
15
16
# File 'lib/epos_now_client/resources/tender_types.rb', line 14

def create_tender_type(attributes)
  create(attributes)
end

#find(id) ⇒ Object



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

def find(id)
  fetch(id)
end