Module: Cindy

Defined in:
lib/cindy.rb,
lib/cindy/error.rb,
lib/cindy/client.rb,
lib/cindy/version.rb

Defined Under Namespace

Classes: APIKeyNotPassed, AlreadySubscribed, BadGateway, BadRequest, Client, EmailDoesNotExistInList, EmailNotPassed, Error, Forbidden, InternalServerError, InvalidAPIKey, InvalidEmailAddress, ListDoesNotExist, ListIDNotPassed, NoDataPasssed, NotAcceptable, NotFound, NotImplemented, ServiceUnavailable, SomeFieldsAreMissing, Unauthorized, UnprocessableEntity

Constant Summary collapse

VERSION =
"0.2.0"

Class Method Summary collapse

Class Method Details

.new(sendy_url, api_key = nil) ⇒ Object



9
10
11
12
# File 'lib/cindy.rb', line 9

def new(sendy_url, api_key = nil)
  # Alias method for Cindy::Client
  Cindy::Client.new(sendy_url, api_key)
end