Class: PagSeguro::Authorization::Collection
- Inherits:
-
Object
- Object
- PagSeguro::Authorization::Collection
- Extended by:
- Forwardable
- Defined in:
- lib/pagseguro/authorization/collection.rb
Instance Attribute Summary collapse
-
#authorizations ⇒ Object
writeonly
Sets the attribute authorizations.
Instance Method Summary collapse
- #errors ⇒ Object
-
#initialize(options = {}) ⇒ Collection
constructor
A new instance of Collection.
Constructor Details
#initialize(options = {}) ⇒ Collection
Returns a new instance of Collection.
10 11 12 13 |
# File 'lib/pagseguro/authorization/collection.rb', line 10 def initialize( = {}) @errors = [:errors] if [:errors] @authorizations = ([:authorizations]) end |
Instance Attribute Details
#authorizations=(value) ⇒ Object (writeonly)
Sets the attribute authorizations
6 7 8 |
# File 'lib/pagseguro/authorization/collection.rb', line 6 def (value) @authorizations = value end |