class Hatena::Bookmark::Restful::V1::Credentials
Attributes
access_token[RW]
@!attribute [rw] consumer_key
@return [String]
@!attribute [rw] consumer_secret
@return [String]
@!attribute [rw] access_token
@return [String]
@!attribute [rw] access_token_secret
@return [String]
access_token_secret[RW]
@!attribute [rw] consumer_key
@return [String]
@!attribute [rw] consumer_secret
@return [String]
@!attribute [rw] access_token
@return [String]
@!attribute [rw] access_token_secret
@return [String]
consumer_key[RW]
@!attribute [rw] consumer_key
@return [String]
@!attribute [rw] consumer_secret
@return [String]
@!attribute [rw] access_token
@return [String]
@!attribute [rw] access_token_secret
@return [String]
consumer_secret[RW]
@!attribute [rw] consumer_key
@return [String]
@!attribute [rw] consumer_secret
@return [String]
@!attribute [rw] access_token
@return [String]
@!attribute [rw] access_token_secret
@return [String]
Public Class Methods
new(attributes)
click to toggle source
@param [Hash] attributes @option attributes [String] :consumer_key @option attributes [String] :consumer_secret @option attributes [String] :access_token @option attributes [String] :access_token_secret
# File lib/hatena/bookmark/restful/v1.rb, line 35 def initialize(attributes) @consumer_key = attributes.fetch(:consumer_key) @consumer_secret = attributes.fetch(:consumer_secret) @access_token = attributes.fetch(:access_token) @access_token_secret = attributes.fetch(:access_token_secret) end