Module: GoPlan
- Defined in:
- lib/goplan.rb
Defined Under Namespace
Classes: General, GoPlanError, InformGoPlan, NotFound, RateLimitExceeded, Unauthorized, Unavailable
Class Method Summary
collapse
Class Method Details
33
34
35
36
37
38
39
|
# File 'lib/goplan.rb', line 33
def self.configure
yield self
GoPlan.token = token
GoPlan.secret = secret
true
end
|
.secret ⇒ Object
49
50
51
|
# File 'lib/goplan.rb', line 49
def self.secret
@secret
end
|
.secret=(secret) ⇒ Object
53
54
55
|
# File 'lib/goplan.rb', line 53
def self.secret=(secret)
@secret = secret
end
|
.token ⇒ Object
41
42
43
|
# File 'lib/goplan.rb', line 41
def self.token
@token
end
|
.token=(token) ⇒ Object
45
46
47
|
# File 'lib/goplan.rb', line 45
def self.token=(token)
@token = token
end
|