Sha256: 522b5dc2f7b8bbe6c18662a7cded6248523c19698a94651d72d87fcaa4828528

Contents?: true

Size: 323 Bytes

Versions: 11

Compression:

Stored size: 323 Bytes

Contents

module MastercoinWallet
  module Models
    class SellingOffer
      include HTTParty
      base_uri 'mastercoin-explorer.com/api/v1/selling_offers'

      attr_accessor :address

      def all
        self.class.get(".json")
      end

      def current
        self.class.get("/current.json")
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mastercoin-wallet-0.0.13 lib/mastercoin-wallet/models/selling_offer.rb
mastercoin-wallet-0.0.12 lib/mastercoin-wallet/models/selling_offer.rb
mastercoin-wallet-0.0.11 lib/mastercoin-wallet/models/selling_offer.rb
mastercoin-wallet-0.0.10 lib/mastercoin-wallet/models/selling_offer.rb
mastercoin-wallet-0.0.9 lib/mastercoin-wallet/models/selling_offer.rb
mastercoin-wallet-0.0.8 lib/mastercoin-wallet/models/selling_offer.rb
mastercoin-wallet-0.0.7 lib/mastercoin-wallet/models/selling_offer.rb
mastercoin-wallet-0.0.6 lib/mastercoin-wallet/models/selling_offer.rb
mastercoin-wallet-0.0.5 lib/mastercoin-wallet/models/selling_offer.rb
mastercoin-wallet-0.0.4 lib/mastercoin-wallet/models/selling_offer.rb
mastercoin-wallet-0.0.3 lib/mastercoin-wallet/models/selling_offer.rb