Sha256: c72b37a942f2b4794da12943118609bf308d657248dcfda35c40fbc5283ce153
Contents?: true
Size: 558 Bytes
Versions: 19
Compression:
Stored size: 558 Bytes
Contents
module Restly::Base::GenericMethods def authorize(token_object) Restly::Proxies::Authorization.new self, token_object end def with_params(params={}) Restly::Proxies::WithParams.new self, params end def with_path(*args) Restly::Proxies::WithPath.new self, *args end def path_with_format(*args) path = [self.path, args].flatten.compact.join('/') [path, format].compact.join('.') if path end def format client.format end def authorized? connection.token.present? end def proxied? false end end
Version data entries
19 entries across 19 versions & 1 rubygems