Skip to content

Instantly share code, notes, and snippets.

@solars
Created May 30, 2011 11:40
Show Gist options
  • Save solars/998769 to your computer and use it in GitHub Desktop.
Save solars/998769 to your computer and use it in GitHub Desktop.
class CheckoutCharge
include OTAElement
tag 'CheckoutCharge'
attribute :code, String, :tag => 'CodeDetail'
attribute :code, String, :tag => 'Amount'
attribute :type, String, :tag => 'TypeOfCharging'
attribute :type, String, :tag => 'Type'
end
class BookingRule
include OTAElement
tag 'BookingRule'
has_many :checkout_charges, CheckoutCharge
#has_one :description, BookingRuleDescription
end
class BookingRules
include OTAElement
tag 'BookingRules'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment