class PromisePay::Collection
Attributes
collection_class[R]
Public Class Methods
new(collection_class)
click to toggle source
# File lib/promise_pay/collection.rb, line 5 def initialize(collection_class) @collection_class = collection_class end
Public Instance Methods
parse()
click to toggle source
# File lib/promise_pay/collection.rb, line 9 def parse p collection_class.new tmp = collection_class.new.fetch_all p tmp end