lib/cerner/oauth1a/access_token.rb
# Public: Generates a Hash of the attributes.
#
# Returns a Hash with keys for each attribute.
Generates a Hash of the attributes.
Returns a Hash with keys for each attribute.
Generates a Hash of the attributes . Returns a Hash with keys for each attribute .
def to_h
        {
          accessor_secret: @accessor_secret,
          consumer_key: @consumer_key,
          expires_at: @expires_at,
          nonce: @nonce,
          timestamp: @timestamp,
          token: @token,
          token_secret: @token_secret,
          signature_method: @signature_method,
          signature: @signature,
          consumer_principal: @consumer_principal,
          realm: @realm
        }
      end
def to_h { accessor_secret : @accessor_secret , consumer_key : @consumer_key , expires_at : @expires_at , nonce : @nonce , timestamp : @timestamp , token : @token , token_secret : @token_secret , signature_method : @signature_method , signature : @signature , consumer_principal : @consumer_principal , realm : @realm } end
Public: Generates a Hash of the attributes.
Public : Generates a Hash of the attributes .