Module: RDStation

Defined in:
lib/rdstation.rb,
lib/rdstation/error.rb,
lib/rdstation/client.rb,
lib/rdstation/events.rb,
lib/rdstation/fields.rb,
lib/rdstation/version.rb,
lib/rdstation/contacts.rb,
lib/rdstation/webhooks.rb,
lib/rdstation/api_response.rb,
lib/rdstation/error/format.rb,
lib/rdstation/authorization.rb,
lib/rdstation/builder/field.rb,
lib/rdstation/error_handler.rb,
lib/rdstation/authentication.rb,
lib/rdstation/error/formatter.rb,
lib/rdstation/retryable_request.rb,
lib/rdstation/error_handler/bad_request.rb,
lib/rdstation/error_handler/unauthorized.rb,
lib/rdstation/error_handler/conflicting_field.rb,
lib/rdstation/error_handler/expired_code_grant.rb,
lib/rdstation/error_handler/invalid_event_type.rb,
lib/rdstation/error_handler/invalid_credentials.rb,
lib/rdstation/error_handler/expired_access_token.rb

Defined Under Namespace

Modules: ApiResponse, RetryableRequest Classes: Authentication, Authorization, Builder, Client, Configuration, Contacts, Error, ErrorHandler, Events, Fields, Webhooks

Constant Summary collapse

VERSION =
'2.4.0'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



3
4
5
# File 'lib/rdstation.rb', line 3

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



5
6
7
8
# File 'lib/rdstation.rb', line 5

def configure
  self.configuration ||= Configuration.new
  yield(configuration)
end