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