Module: Modulr::API::Services
- Included in:
- Client
- Defined in:
- lib/modulr/api/services.rb
Instance Method Summary collapse
- #accounts ⇒ Object
- #customers ⇒ Object
- #notifications ⇒ Object
- #payments ⇒ Object
- #transactions ⇒ Object
Instance Method Details
#accounts ⇒ Object
8 9 10 |
# File 'lib/modulr/api/services.rb', line 8 def accounts @services[:accounts] ||= API::AccountsService.new(self) end |
#customers ⇒ Object
12 13 14 |
# File 'lib/modulr/api/services.rb', line 12 def customers @services[:customers] ||= API::CustomersService.new(self) end |
#notifications ⇒ Object
20 21 22 |
# File 'lib/modulr/api/services.rb', line 20 def notifications @services[:notifications] ||= API::NotificationsService.new(self) end |
#payments ⇒ Object
16 17 18 |
# File 'lib/modulr/api/services.rb', line 16 def payments @services[:payments] ||= API::PaymentsService.new(self) end |
#transactions ⇒ Object
24 25 26 |
# File 'lib/modulr/api/services.rb', line 24 def transactions @services[:transactions] ||= API::TransactionsService.new(self) end |