module VzaarApi
Constants
- DEFAULT_HOSTNAME
- DEFAULT_PROTOCOL
- UPLOADER
- VERSION
Attributes
auth_token[RW]
client_id[RW]
hostname[RW]
rate_limit[RW]
rate_limit_remaining[RW]
rate_limit_reset[RW]
Public Class Methods
protocol()
click to toggle source
# File lib/vzaar_api.rb, line 56 def protocol @protocol || DEFAULT_PROTOCOL end
protocol=(value)
click to toggle source
# File lib/vzaar_api.rb, line 60 def protocol=(value) @protocol = value.downcase == 'https' ? 'https' : 'http' end