Sha256: b2e0b8c417ed02849c79320a409baf04bd9ea0e303ce99ab369e867add45a4d8
Contents?: true
Size: 608 Bytes
Versions: 3
Compression:
Stored size: 608 Bytes
Contents
module Afterbanks class User < Resource has_fields limit: :integer, counter: :integer, remaining_calls: :integer, date_renewal: :date, detail: :string class << self def get response, debug_id = Afterbanks.api_call( method: :post, path: '/me/', params: { servicekey: Afterbanks.configuration.servicekey } ) Response.new( result: new(response), debug_id: debug_id ) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
afterbanks-api-ruby-0.4.2 | lib/afterbanks/resources/user.rb |
afterbanks-api-ruby-0.4.1 | lib/afterbanks/resources/user.rb |
afterbanks-api-ruby-0.4.0 | lib/afterbanks/resources/user.rb |