Sha256: e2289e2620520899eb55d78865c896790ee6f4551537ea91c23cd69f95b73866

Contents?: true

Size: 285 Bytes

Versions: 8

Compression:

Stored size: 285 Bytes

Contents

module Gateway
  module Requests
    class Client < CommonRequest
      attr_accessor :key, :avatar, :nickname

      def initialize(attributes)
        attributes.each do |name, value|
          send("#{name}=", value) if respond_to? "#{name}="
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gateway-sdk-1.2.5 lib/gateway/requests/client.rb
gateway-sdk-1.2.4 lib/gateway/requests/client.rb
gateway-sdk-1.2.3 lib/gateway/requests/client.rb
gateway-sdk-1.1.3 lib/gateway/requests/client.rb
gateway-sdk-1.1.2 lib/gateway/requests/client.rb
gateway-sdk-1.1.1 lib/gateway/requests/client.rb
gateway-sdk-1.1.0 lib/gateway/requests/client.rb
gateway-sdk-1.0.4 lib/gateway/requests/client.rb