Sha256: 89fd7667eca5d75f3d310d052c79da98292979741992c7c95e0f73556324a889
Contents?: true
Size: 700 Bytes
Versions: 3
Compression:
Stored size: 700 Bytes
Contents
require 'hashie' module Cashstar class Client # Defines methods related to a Cashstar Order class GiftCard < Hashie::Dash property :merchant_code, :required => true property :initial_balance, :required => true property :currency, :default => 'USD' property :challenge property :challenge_description property :delivery property :message end class Delivery < Hashie::Dash property :delivered_by, :default => 'CASHSTAR' property :method property :target property :scheduled end class Message < Hashie::Dash property :from property :to property :body end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cashstar-0.1.2 | lib/cashstar/client/gift_card.rb |
cashstar-0.1.1 | lib/cashstar/client/gift_card.rb |
cashstar-0.1.0 | lib/cashstar/client/gift_card.rb |