Module: STP
- Defined in:
- lib/stp.rb,
lib/stp/account.rb,
lib/stp/version.rb,
lib/stp/stp_error.rb,
lib/stp/payment_order.rb,
lib/stp/structs/account.rb,
lib/stp/structs/payment_order.rb
Defined Under Namespace
Modules: Account, PaymentOrder, Structs
Classes: STPError
Constant Summary
collapse
- VERSION =
'0.3.0'
Class Method Summary
collapse
Class Method Details
.api_uri ⇒ Object
19
20
21
|
# File 'lib/stp.rb', line 19
def self.api_uri
@api_uri
end
|
.api_uri=(api_uri) ⇒ Object
15
16
17
|
# File 'lib/stp.rb', line 15
def self.api_uri=(api_uri)
@api_uri = api_uri
end
|
.company ⇒ Object
43
44
45
|
# File 'lib/stp.rb', line 43
def self.company
@company
end
|
.company=(company) ⇒ Object
39
40
41
|
# File 'lib/stp.rb', line 39
def self.company=(company)
@company = company
end
|
.config {|_self| ... } ⇒ Object
11
12
13
|
# File 'lib/stp.rb', line 11
def self.config
yield self
end
|
.private_key ⇒ Object
27
28
29
|
# File 'lib/stp.rb', line 27
def self.private_key
@private_key
end
|
.private_key=(private_key) ⇒ Object
23
24
25
|
# File 'lib/stp.rb', line 23
def self.private_key=(private_key)
@private_key = private_key
end
|
.private_key_password ⇒ Object
35
36
37
|
# File 'lib/stp.rb', line 35
def self.private_key_password
@private_key_password
end
|
.private_key_password=(private_key_password) ⇒ Object
31
32
33
|
# File 'lib/stp.rb', line 31
def self.private_key_password=(private_key_password)
@private_key_password = private_key_password
end
|