Sha256: f6523a15c687f822f965d127ca7305c8843c3d3d27ba2b1529b716699ebf17f0
Contents?: true
Size: 999 Bytes
Versions: 56
Compression:
Stored size: 999 Bytes
Contents
module Xeroizer class PublicApplication < GenericApplication extend Forwardable def_delegators :client, :request_token, :authorize_from_request, :authorize_from_access public # Public appliations are authenticated via the Xero website via OAuth. AccessTokens are valid for 30 minutes # after authentication. To extend this time you must redirect the user to Xero's OAuth server again. # # @param [String] consumer_key consumer key/token from application developer (found at http://api.xero.com for your application) # @param [String] consumer_secret consumer secret from application developer (found at http://api.xero.com for your application) # @param [Hash] options other options to pass to the GenericApplication constructor # @return [PublicApplication] instance of PrivateApplication def initialize(consumer_key, consumer_secret, options = {}) super(consumer_key, consumer_secret, options) end end end
Version data entries
56 entries across 56 versions & 2 rubygems