Class: BeyondApi::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/beyond_api.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.


36
37
38
39
40
41
42
43
44
45
# File 'lib/beyond_api.rb', line 36

def initialize
  @client_id = nil
  @client_secret = nil
  @open_timeout = 2
  @timeout = 5
  @remove_response_links = false
  @remove_response_key_underscores = false
  @object_struct_responses = false
  @raise_error_requests = false
end

Instance Attribute Details

#client_idObject

Returns the value of attribute client_id


33
34
35
# File 'lib/beyond_api.rb', line 33

def client_id
  @client_id
end

#client_secretObject

Returns the value of attribute client_secret


33
34
35
# File 'lib/beyond_api.rb', line 33

def client_secret
  @client_secret
end

#object_struct_responsesObject

Returns the value of attribute object_struct_responses


33
34
35
# File 'lib/beyond_api.rb', line 33

def object_struct_responses
  @object_struct_responses
end

#open_timeoutObject

Returns the value of attribute open_timeout


33
34
35
# File 'lib/beyond_api.rb', line 33

def open_timeout
  @open_timeout
end

#raise_error_requestsObject

Returns the value of attribute raise_error_requests


33
34
35
# File 'lib/beyond_api.rb', line 33

def raise_error_requests
  @raise_error_requests
end

#remove_response_key_underscoresObject

Returns the value of attribute remove_response_key_underscores


33
34
35
# File 'lib/beyond_api.rb', line 33

def remove_response_key_underscores
  @remove_response_key_underscores
end

Returns the value of attribute remove_response_links


33
34
35
# File 'lib/beyond_api.rb', line 33

def remove_response_links
  @remove_response_links
end

#timeoutObject

Returns the value of attribute timeout


33
34
35
# File 'lib/beyond_api.rb', line 33

def timeout
  @timeout
end