class ClientInfoBase
Attributes
client_id[RW]
client_secret[RW]
user[RW]
Public Class Methods
json_create(o)
click to toggle source
# File lib/domain/client_info_base.rb, line 13 def self.json_create(o) a_from_json = new a_from_json.client_id = o['client_id'] a_from_json.client_secret = o['client_secret'] a_from_json.user = o['user'] a_from_json end
Public Instance Methods
to_json(*a)
click to toggle source
# File lib/domain/client_info_base.rb, line 7 def to_json(*a) { client_id: @client_id, client_secret: @client_secret, user: @user }.to_json(*a) end