Sha256: 8bb9bec7c5067a3e9a688d68cdcd23b78c189a4cb04c971d3fe99f4e799ad121

Contents?: true

Size: 282 Bytes

Versions: 1

Compression:

Stored size: 282 Bytes

Contents

module Charger

  class Configuration
    include Virtus.model

    attribute :api_key, String
    attribute :subdomain, String

    # Retrieves this Configuration's client
    #
    # @return [Charger::Client]
    def client
      Client.new(api_key, subdomain)
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
charger-0.2.0 lib/charger/configuration.rb