Sha256: 3c674c1fcc0097a146fa9a31dcebcc4dcc7218537e102e0b426d58070929ac70
Contents?: true
Size: 711 Bytes
Versions: 1
Compression:
Stored size: 711 Bytes
Contents
module Blackbird module Retoure module Environments # Internal: Provide environment specific methods. class Base def initialize @username = ::Blackbird::Retoure.configuration.username @password = ::Blackbird::Retoure.configuration.password @app_id = ::Blackbird::Retoure.configuration.app_id @app_token = ::Blackbird::Retoure.configuration.app_token end # Public: Returns the endpoint url for the current environment. # The ENDPOINT constant has to be implemented in the child classes. # # Returns as String. def endpoint_url self.class::ENDPOINT end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blackbird-retoure-0.1.0 | lib/blackbird/retoure/environments/base.rb |