Sha256: dd2ce1190c95c5dfafc12d69b5a74fc5a4617b0a02d15055d582572a0116065d

Contents?: true

Size: 766 Bytes

Versions: 2

Compression:

Stored size: 766 Bytes

Contents

module Mashery
  class Key < RpcClient::Base
    attribute :id,                 Fixnum
    attribute :created,            DateTime
    attribute :updated,            DateTime
    attribute :service_key,        String
    attribute :apikey,             String
    attribute :username,           String
    attribute :status,             String
    attribute :rate_limit_ceiling, Fixnum
    attribute :qps_limit_ceiling,  Fixnum
    attribute :rate_limit_exempt,  Fixnum
    attribute :qps_limit_exempt,   Fixnum
    attribute :required_referer,   Fixnum
    attribute :secret,             Fixnum
    attribute :object_type,        String
    attribute :limits,             Array

    def inspect
      "<Mashery::Key service_key=#{apikey.inspect}>"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mashery_rails-0.6.9.pre4 lib/mashery/key.rb
mashery_rails-0.6.9.pre3 lib/mashery/key.rb