Sha256: 8f9a9aa52502764b77a56bc68302abf9c32137343381ecf867ec88a1709ee660
Contents?: true
Size: 619 Bytes
Versions: 15
Compression:
Stored size: 619 Bytes
Contents
# frozen_string_literal: true # # Parser for OpenAPI 3.0 data for a given record method # module LedgerSync module NetSuite class 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
Version data entries
15 entries across 15 versions & 1 rubygems