Module: RDStation
- Defined in:
- lib/rdstation.rb,
lib/rdstation/error.rb,
lib/rdstation/client.rb,
lib/rdstation/emails.rb,
lib/rdstation/events.rb,
lib/rdstation/fields.rb,
lib/rdstation/account.rb,
lib/rdstation/version.rb,
lib/rdstation/contacts.rb,
lib/rdstation/webhooks.rb,
lib/rdstation/analytics.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/landing_pages.rb,
lib/rdstation/segmentations.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,
lib/rdstation/error_handler/invalid_refresh_token.rb
Defined Under Namespace
Modules: ApiResponse, RetryableRequest Classes: Account, Analytics, Authentication, Authorization, Builder, Client, Configuration, Contacts, Emails, Error, ErrorHandler, Events, Fields, LandingPages, Segmentations, Webhooks
Constant Summary collapse
- HOST =
'https://api.rd.services'.freeze
- VERSION =
'2.9.0'
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
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
7 8 9 10 11 |
# File 'lib/rdstation.rb', line 7 def configure self.configuration ||= Configuration.new self.configuration.base_host = HOST yield(configuration) end |
.host ⇒ Object
13 14 15 |
# File 'lib/rdstation.rb', line 13 def host self.configuration&.base_host || HOST end |