Sha256: 23b610d9a84ff499b2063d9378292e3d577d2d6f13eadc2e30d47dd462e0fed6
Contents?: true
Size: 579 Bytes
Versions: 1
Compression:
Stored size: 579 Bytes
Contents
module Nusii module ApiOperations class Send < Base attr_reader :resource_class, :resource, :params def initialize resource_class, resource, params @resource_class = resource_class @resource = resource @params = params end private def response @response ||= connection.put resource_path, params.to_json end def build_ok_response parsed_body end def resource_path "/api/v2/#{resource_url_string}/#{resource.id}/send_proposal" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nusii-0.1.1 | lib/nusii/api_operations/send.rb |