Sha256: 4b91cb15784b96f733d6a23c578bd34f8b08f0251ade9b6fa63f3f3d03845dc6
Contents?: true
Size: 614 Bytes
Versions: 2
Compression:
Stored size: 614 Bytes
Contents
module Strava module Web class Client include Web::Connection include Web::Request attr_accessor(*Config::ATTRIBUTES) def initialize(options = {}) Strava::Web::Config::ATTRIBUTES.each do |key| send("#{key}=", options[key] || Strava::Web.config.send(key)) end @logger ||= Strava::Logger.default end def endpoint raise NotImplementedError end class << self def configure block_given? ? yield(Config) : Config end def config Config end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
strava-ruby-client-0.2.0 | lib/strava/web/client.rb |
strava-ruby-client-0.1.0 | lib/strava/web/client.rb |