Module: MambaNation
- Includes:
- HTTParty
- Defined in:
- lib/mambanation.rb,
lib/mambanation/base.rb,
lib/mambanation/request.rb,
lib/mambanation/httpauth.rb
Defined Under Namespace
Classes: Base, General, HTTPAuth, InformMambaNation, MambaNationError, NotFound, RateLimitExceeded, Request, Unauthorized, Unavailable
Constant Summary
collapse
- API_VERSION =
"2".freeze
Class Method Summary
collapse
Class Method Details
.api_endpoint ⇒ Object
27
28
29
|
# File 'lib/mambanation.rb', line 27
def self.api_endpoint
@api_endpoint ||= "api.mambanation.com"
end
|
.api_endpoint=(value) ⇒ Object
31
32
33
|
# File 'lib/mambanation.rb', line 31
def self.api_endpoint=(value)
@api_endpoint = value
end
|