Sha256: 291a1ac2f0cd9c26f87d00aca67edf5732fb558486300a29951532428ad856f8

Contents?: true

Size: 408 Bytes

Versions: 9

Compression:

Stored size: 408 Bytes

Contents

Mollie::Client.class_eval do
  attr_accessor :version_strings

  def initialize(api_key = nil)
    @api_endpoint = Mollie::Client::API_ENDPOINT
    @api_key = api_key
    @version_strings = []

    add_version_string 'MollieSpreeCommerce/' << SpreeMollieGateway::VERSION
    add_version_string 'Ruby/' << RUBY_VERSION
    add_version_string OpenSSL::OPENSSL_VERSION.split(' ').slice(0, 2).join '/'
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
spree_mollie_gateway-3.2.1 app/models/mollie/client_decorator.rb
spree_mollie_gateway-3.2.0 app/models/mollie/client_decorator.rb
spree_mollie_gateway-3.1.0 app/models/mollie/client_decorator.rb
spree_mollie_gateway-3.0.4 app/models/mollie/client_decorator.rb
spree_mollie_gateway-3.0.3 app/models/mollie/client_decorator.rb
spree_mollie_gateway-3.0.2 app/models/mollie/client_decorator.rb
spree_mollie_gateway-3.0.1 app/models/mollie/client_decorator.rb
spree_mollie_gateway-3.0.0 app/models/mollie/client_decorator.rb
spree_mollie_gateway-3.0.0.pre.beta app/models/mollie/client_decorator.rb