class Gillbus::V2::Responses::Authenticate
Public Instance Methods
access_token()
click to toggle source
# File lib/gillbus/v2/responses/authenticate.rb, line 8 def access_token return @access_token if defined?(@access_token) @access_token = if json_body["access_token"] Structs::AccessToken.from_raw_data(json_body) end end
success?()
click to toggle source
# File lib/gillbus/v2/responses/authenticate.rb, line 4 def success? http_status == 200 && !access_token.nil? end