Sha256: cabfe1a7b32abfe01bd7fe2a6531f4e3f6ea9bf62840e2b9268c6f7131fa7086

Contents?: true

Size: 258 Bytes

Versions: 8

Compression:

Stored size: 258 Bytes

Contents

module OpenRecycling
  class ModuleClient
    attr_reader :jwt_token, :base_url

    def initialize(base_url: nil, jwt_token: nil)
      @jwt_token = jwt_token || OpenRecycling.jwt_token
      @base_url = base_url || OpenRecycling.api_url
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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