Module: MythicBeasts
- Defined in:
- lib/mythic_beasts.rb,
lib/mythic_beasts/dns.rb,
lib/mythic_beasts/vps.rb,
lib/mythic_beasts/auth.rb,
lib/mythic_beasts/proxy.rb,
lib/mythic_beasts/client.rb,
lib/mythic_beasts/errors.rb,
lib/mythic_beasts/version.rb
Defined Under Namespace
Classes: Auth, AuthenticationError, Client, ConflictError, DNS, Error, NotFoundError, Proxy, RateLimitError, ServerError, VPS, ValidationError
Constant Summary collapse
- VERSION =
"0.2.0"
Class Attribute Summary collapse
-
.api_key ⇒ Object
Returns the value of attribute api_key.
-
.api_secret ⇒ Object
Returns the value of attribute api_secret.
Class Method Summary collapse
Class Attribute Details
.api_key ⇒ Object
Returns the value of attribute api_key.
15 16 17 |
# File 'lib/mythic_beasts.rb', line 15 def api_key @api_key end |
.api_secret ⇒ Object
Returns the value of attribute api_secret.
15 16 17 |
# File 'lib/mythic_beasts.rb', line 15 def api_secret @api_secret end |
Class Method Details
.client ⇒ Object
21 22 23 |
# File 'lib/mythic_beasts.rb', line 21 def client @client ||= Client.new(api_key: api_key, api_secret: api_secret) end |
.configure {|_self| ... } ⇒ Object
17 18 19 |
# File 'lib/mythic_beasts.rb', line 17 def configure yield self end |