Sha256: e985ff313763108c793feb0cbe5b056950b30f57d4b876a756b8f17175ac77e5

Contents?: true

Size: 294 Bytes

Versions: 58

Compression:

Stored size: 294 Bytes

Contents

module Rack
  module OAuth2
    class AccessToken
      def initialize_with_expires_support(attributes = {})
        initialize_without_expires_support attributes
        self.expires_in ||= attributes[:expires]
      end
      alias_method_chain :initialize, :expires_support
    end
  end
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
fb_graph-2.7.17 lib/patch/rack/oauth2/access_token.rb
fb_graph-2.7.16 lib/patch/rack/oauth2/access_token.rb
fb_graph-2.7.15 lib/patch/rack/oauth2/access_token.rb
fb_graph-2.7.14 lib/patch/rack/oauth2/access_token.rb
fb_graph-2.7.13 lib/patch/rack/oauth2/access_token.rb
fb_graph-2.7.12 lib/patch/rack/oauth2/access_token.rb
fb_graph-2.7.11 lib/patch/rack/oauth2/access_token.rb
fb_graph-2.7.10 lib/patch/rack/oauth2/access_token.rb
fb_graph-2.7.9 lib/patch/rack/oauth2/access_token.rb
fb_graph-2.7.8 lib/patch/rack/oauth2/access_token.rb
fb_graph-2.7.7 lib/patch/rack/oauth2/access_token.rb
fb_graph-2.7.6 lib/patch/rack/oauth2/access_token.rb
fb_graph-2.7.5 lib/patch/rack/oauth2/access_token.rb
fb_graph-2.7.4 lib/patch/rack/oauth2/access_token.rb
fb_graph-2.7.3 lib/patch/rack/oauth2/access_token.rb
fb_graph-2.7.2 lib/patch/rack/oauth2/access_token.rb
fb_graph-2.7.1 lib/patch/rack/oauth2/access_token.rb
fb_graph-2.7.0 lib/patch/rack/oauth2/access_token.rb
fb_graph-2.6.7 lib/patch/rack/oauth2/access_token.rb
fb_graph-2.6.6 lib/patch/rack/oauth2/access_token.rb