Sha256: 0056ca70e979c5e2b197f4c1b135ab51e463e8400be676a99613153ffca18af1
Contents?: true
Size: 658 Bytes
Versions: 5
Compression:
Stored size: 658 Bytes
Contents
require 'real_savvy/connection' require 'real_savvy/concern' require 'real_savvy/adapter' Dir[File.dirname(__FILE__) + '/adapaters/*.rb'].each {|file| require file } class RealSavvy::Client def initialize(token:, logger: nil) @token = token @logger = logger end def connection @connection ||= RealSavvy::Connection.new(client: self) end def logger @logger end def logging? !!@logging end def token @token end def properties resource_adapaters[:properties] ||= RealSavvy::Adapter::Property.new(connection: connection) end private def resource_adapaters @resource_adapaters ||= {} end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
real_savvy-0.0.7 | client.rb |
real_savvy-0.0.6 | client.rb |
real_savvy-0.0.5 | client.rb |
real_savvy-0.0.4 | client.rb |
real_savvy-0.0.3 | client.rb |