Sha256: 93cc74270840ce5f2f574c40540bb37286fa7c0c86f90f7627ff2a9958d64780

Contents?: true

Size: 325 Bytes

Versions: 3

Compression:

Stored size: 325 Bytes

Contents

module Erede
  module Services
    class CreateTransaction < ::Erede::Services::Base
      attr_accessor :transaction

      def initialize(store, transaction)
        super(store)
        self.transaction = transaction
      end

      def execute
        send_request(POST, transaction.to_json)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
erede-ruby-sdk-3.0.2 lib/erede/services/create_transaction.rb
erede-ruby-sdk-3.0.1 lib/erede/services/create_transaction.rb
erede-ruby-sdk-3.0.0 lib/erede/services/create_transaction.rb