Module: STP
- Defined in:
- lib/stp.rb,
lib/stp/account.rb,
lib/stp/version.rb,
lib/stp/payment_order.rb,
lib/stp/structs/account.rb,
lib/stp/errors/stp_error.rb,
lib/stp/structs/payment_order.rb,
lib/stp/errors/account_already_exists.rb
Defined Under Namespace
Modules: Account, Errors, PaymentOrder, Structs
Constant Summary
collapse
- VERSION =
'0.5.1'
Class Method Summary
collapse
Class Method Details
.api_uri ⇒ Object
20
21
22
|
# File 'lib/stp.rb', line 20
def self.api_uri
@api_uri
end
|
.api_uri=(api_uri) ⇒ Object
16
17
18
|
# File 'lib/stp.rb', line 16
def self.api_uri=(api_uri)
@api_uri = api_uri
end
|
.company ⇒ Object
44
45
46
|
# File 'lib/stp.rb', line 44
def self.company
@company
end
|
.company=(company) ⇒ Object
40
41
42
|
# File 'lib/stp.rb', line 40
def self.company=(company)
@company = company
end
|
.config {|_self| ... } ⇒ Object
12
13
14
|
# File 'lib/stp.rb', line 12
def self.config
yield self
end
|
.private_key ⇒ Object
28
29
30
|
# File 'lib/stp.rb', line 28
def self.private_key
@private_key
end
|
.private_key=(private_key) ⇒ Object
24
25
26
|
# File 'lib/stp.rb', line 24
def self.private_key=(private_key)
@private_key = private_key
end
|
.private_key_password ⇒ Object
36
37
38
|
# File 'lib/stp.rb', line 36
def self.private_key_password
@private_key_password
end
|
.private_key_password=(private_key_password) ⇒ Object
32
33
34
|
# File 'lib/stp.rb', line 32
def self.private_key_password=(private_key_password)
@private_key_password = private_key_password
end
|
.verbose ⇒ Object
48
49
50
|
# File 'lib/stp.rb', line 48
def self.verbose
@verbose
end
|
.verbose=(verbose) ⇒ Object
52
53
54
|
# File 'lib/stp.rb', line 52
def self.verbose=(verbose)
@verbose = verbose
end
|