module SPOT::Configuration
Attributes
open_timeout[RW]
read_timeout[RW]
Public Class Methods
extended(base)
click to toggle source
# File lib/spot-gps/configuration.rb, line 5 def self.extended(base) base.reset end
Public Instance Methods
configure() { |self| ... }
click to toggle source
# File lib/spot-gps/configuration.rb, line 9 def configure yield self end
endpoint()
click to toggle source
# File lib/spot-gps/configuration.rb, line 18 def endpoint "https://api.findmespot.com/spot-main-web/consumer/rest-api/2.0/public/feed/" end
reset()
click to toggle source
# File lib/spot-gps/configuration.rb, line 13 def reset self.open_timeout = 30 self.read_timeout = 80 end