Module: Geckoboard
- Defined in:
- lib/geckoboard.rb,
lib/geckoboard/client.rb,
lib/geckoboard/errors.rb,
lib/geckoboard/dataset.rb,
lib/geckoboard/version.rb,
lib/geckoboard/connection.rb,
lib/geckoboard/field_types.rb,
lib/geckoboard/datasets_client.rb,
lib/geckoboard/payload_formatter.rb
Defined Under Namespace
Classes: Client, Connection, Dataset, DatasetsClient, DateField, DateTimeField, Field, MoneyField, NumberField, OptionalField, PayloadFormatter, PercentageField, StringField
Constant Summary collapse
- USER_AGENT =
"Geckoboard-Ruby/#{VERSION}"- BaseError =
Class.new(StandardError)
- BadRequestError =
Class.new(BaseError)
- ConflictError =
Class.new(BaseError)
Class.new(BaseError)
- UnexpectedStatusError =
Class.new(BaseError)
- VERSION =
'0.4.0'
Class Method Summary collapse
Class Method Details
.client(api_key) ⇒ Object
17 18 19 |
# File 'lib/geckoboard.rb', line 17 def self.client(api_key) Client.new(api_key) end |