Module: Coconut
- Defined in:
- lib/coconutrb.rb,
lib/coconut/api.rb,
lib/coconut/job.rb,
lib/coconut/error.rb,
lib/coconut/client.rb,
lib/coconut/version.rb,
lib/coconut/metadata.rb
Defined Under Namespace
Classes: API, Client, Error, Job, Metadata
Constant Summary
collapse
- ENDPOINT =
"https://api.coconut.co/v2"
- VERSION =
"3.0.1"
Class Method Summary
collapse
Class Method Details
.api_key ⇒ Object
15
16
17
|
# File 'lib/coconutrb.rb', line 15
def self.api_key
@api_key
end
|
.api_key=(key) ⇒ Object
11
12
13
|
# File 'lib/coconutrb.rb', line 11
def self.api_key=(key)
@api_key = key
end
|
.endpoint ⇒ Object
31
32
33
|
# File 'lib/coconutrb.rb', line 31
def self.endpoint
@endpoint
end
|
.endpoint=(endpoint) ⇒ Object
27
28
29
|
# File 'lib/coconutrb.rb', line 27
def self.endpoint=(endpoint)
@endpoint = endpoint
end
|
.notification ⇒ Object
39
40
41
|
# File 'lib/coconutrb.rb', line 39
def self.notification
@notification
end
|
.notification=(notification) ⇒ Object
35
36
37
|
# File 'lib/coconutrb.rb', line 35
def self.notification=(notification)
@notification = notification
end
|
.region ⇒ Object
23
24
25
|
# File 'lib/coconutrb.rb', line 23
def self.region
@region
end
|
.region=(region) ⇒ Object
19
20
21
|
# File 'lib/coconutrb.rb', line 19
def self.region=(region)
@region = region
end
|
.storage ⇒ Object
47
48
49
|
# File 'lib/coconutrb.rb', line 47
def self.storage
@storage
end
|
.storage=(storage) ⇒ Object
43
44
45
|
# File 'lib/coconutrb.rb', line 43
def self.storage=(storage)
@storage = storage
end
|