Sha256: 9fc1d1639f45bec40a0f59d133ec53104f88a7c4d8d05716d552cff8c2cd819a
Contents?: true
Size: 591 Bytes
Versions: 5
Compression:
Stored size: 591 Bytes
Contents
require_relative "invoices" require_relative "recycling_accounts" module OpenRecycling module Core class Client < OpenRecycling::ModuleClient def invoices @invoices ||= OpenRecycling::Core::Invoices.new( base_url: module_url, jwt_token: jwt_token ) end def recycling_accounts @recycling_accounts ||= OpenRecycling::Core::RecyclingAccounts.new( base_url: module_url, jwt_token: jwt_token ) end private def module_url "#{base_url}/core/v1" end end end end
Version data entries
5 entries across 5 versions & 1 rubygems