Sha256: d5b6e89028d9ac1a32c9759a3a423e4d310c5a1eafa3dd80f99ab53bc2952955

Contents?: true

Size: 371 Bytes

Versions: 8

Compression:

Stored size: 371 Bytes

Contents

# frozen_string_literal: true

module OpenRecycling
  module Core
    class Invoices < OpenRecycling::Resource
      def initialize(base_url: nil, jwt_token: nil)
        super(
          root_node_singular: "invoice",
          root_node_plural: "invoices",
          api_url: "#{base_url}/invoices",
          jwt_token: jwt_token
        )
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
open_recycling-0.0.8 lib/open_recycling/core/invoices.rb
open_recycling-0.0.7 lib/open_recycling/core/invoices.rb
open_recycling-0.0.6 lib/open_recycling/core/invoices.rb
open_recycling-0.0.5 lib/open_recycling/core/invoices.rb
open_recycling-0.0.4 lib/open_recycling/core/invoices.rb
open_recycling-0.0.3 lib/open_recycling/core/invoices.rb
open_recycling-0.0.2 lib/open_recycling/core/invoices.rb
open_recycling-0.0.1 lib/open_recycling/core/invoices.rb