lib/constantcontact/util/config.rb in constantcontact-1.3.2 vs lib/constantcontact/util/config.rb in constantcontact-2.0.0
- old
+ new
@@ -130,12 +130,14 @@
:custom_field_15 => 'CUSTOM FIELD 15'
},
# Errors to be returned for various exceptions
:errors => {
- :id_or_object => 'Only an id or %s object are allowed for this method.',
- :invalid_webhook => 'Invalid Webhook. The x-ctct-hmac-sha256 does not correspond to message encryption.',
- :api_secret_missing => 'The api_secret is missing in explicit call or configuration.'
+ :api_key_missing => 'api_key required either explicitly or in configuration.',
+ :access_token_missing => 'access_token required explicitly.',
+ :id_or_object => 'Only an id or %s object are allowed for this method.',
+ :invalid_webhook => 'Invalid Webhook. The x-ctct-hmac-sha256 does not correspond to message encryption.',
+ :api_secret_missing => 'The api_secret is missing in explicit call or configuration.'
}
}
class << self
attr_accessor :props