Module: Beyonic
- Defined in:
- lib/beyonic.rb,
lib/beyonic/version.rb
Defined Under Namespace
Modules: AbstractApi
Classes: Account, Collection, CollectionRequest, Contact, Currency, Network, Payment, Transaction, Webhook
Constant Summary
collapse
- VERSION =
"0.0.15"
Class Method Summary
collapse
Class Method Details
.api_key ⇒ Object
13
14
15
|
# File 'lib/beyonic.rb', line 13
def self.api_key
@api_key
end
|
.api_key=(key) ⇒ Object
Uncomment this if you are testing on your server and you want to bypass SSL checks. OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
9
10
11
|
# File 'lib/beyonic.rb', line 9
def self.api_key=(key)
@api_key = key
end
|
.api_version ⇒ Object
21
22
23
|
# File 'lib/beyonic.rb', line 21
def self.api_version
@api_version
end
|
.api_version=(version) ⇒ Object
17
18
19
|
# File 'lib/beyonic.rb', line 17
def self.api_version=(version)
@api_version = version
end
|
.endpoint_base ⇒ Object
25
26
27
|
# File 'lib/beyonic.rb', line 25
def self.endpoint_base
"https://app.beyonic.us/api/"
end
|