Sha256: 95238582025aad5821c2a6de8d4d6bf3a603963b579fb975ac46f473809a371b
Contents?: true
Size: 688 Bytes
Versions: 1
Compression:
Stored size: 688 Bytes
Contents
# frozen_string_literal: true # # Parser for OpenAPI 3.0 data for a given record method # module LedgerSync module Adaptors module NetSuite module Record class HTTPMethod < Util::ReadOnlyObject attribute :key attribute :method attribute :path attribute :summary def initialize(args = {}) super( args.merge( key: "#{args.fetch(:method)} #{args.fetch(:path)}".downcase ) ) end def parameters Parameter.new_from_array( raw[:parameters] ) end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ledger_sync-1.3.5 | lib/ledger_sync/adaptors/netsuite/record/http_method.rb |