Sha256: cc8fce4e2b9dd36aeb3938a0a6226b4a64e42939cf8310b2af2198470943c19d
Contents?: true
Size: 553 Bytes
Versions: 1
Compression:
Stored size: 553 Bytes
Contents
# frozen_string_literal: true require 'money' require_relative './money' module GraphQL module Types class MoneyInput < GraphQL::Schema::InputObject graphql_name 'MoneyInput' description 'An input object representing money, with an amount and '\ 'currency' argument :fractional, Integer, 'Fractional unit value of a given currency', required: true argument :iso_code, ISO4217, 'The currency format as defined by IS0 4217', required: true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
graphql-types-money-1.0.0 | lib/graphql/types/money_input.rb |