Class: LitleOnline::RecurringRequest

Inherits:
Object
  • Object
show all
Includes:
XML::Mapping
Defined in:
lib/XMLFields.rb

Class Method Summary collapse

Class Method Details

.from_hash(hash, name = "recurringRequest") ⇒ Object



1079
1080
1081
1082
1083
1084
1085
1086
# File 'lib/XMLFields.rb', line 1079

def self.from_hash(hash, name="recurringRequest")
  base = hash[name]
  if(base)
    this = RecurringRequest.new
    this.subscription = Subscription.from_hash(base)
    this
  end
end