Class: GlimrApiClient::Update

Inherits:
Base
  • Object
show all
Defined in:
lib/glimr_api_client/update.rb

Overview

TODO: rename so it follow api spec

Defined Under Namespace

Classes: FeeLiabilityNotFound, GovPayReferenceExistsOnSystem, GovPayReferenceInvalidFormat, InvalidAmount, PaymentReferenceInvalidFormat

Instance Attribute Summary collapse

Attributes inherited from Base

#args

Attributes included from Api

#response_body

Instance Method Summary collapse

Methods inherited from Base

call, #call

Methods included from Api

#post, #timeout

Constructor Details

#initialize(params) ⇒ Update

Returns a new instance of Update.



13
14
15
# File 'lib/glimr_api_client/update.rb', line 13

def initialize(params)
  @request_body = params
end

Instance Attribute Details

#request_bodyObject (readonly)

TODO: Move this and initialize into Base. It’s the same for all but Case.



11
12
13
# File 'lib/glimr_api_client/update.rb', line 11

def request_body
  @request_body
end