Sha256: f8fd1b51919b48a7342776cd9c5ece77330a763bddfe1c4044bdbaa0203d55ea
Contents?: true
Size: 411 Bytes
Versions: 7
Compression:
Stored size: 411 Bytes
Contents
class RequestTokenResponse attr_accessor :expires_at, :request_token, :success def initialize self.expires_at = "2012-02-09 19:50:25 UTC" self.request_token = "641bf16c663db167c6cffcdff41126039d4445bf" self.success = true end def to_hash { expires_at: expires_at, request_token: request_token, success: success } end def to_json to_hash.to_json end end
Version data entries
7 entries across 7 versions & 1 rubygems