Class: StackOne::Models::Shared::ActionsRpcSyncedRequestDto
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::ActionsRpcSyncedRequestDto
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/actionsrpcsyncedrequestdto.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(action:, body: nil, filter: nil, headers: nil, path: nil, query: nil) ⇒ ActionsRpcSyncedRequestDto
constructor
A new instance of ActionsRpcSyncedRequestDto.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(action:, body: nil, filter: nil, headers: nil, path: nil, query: nil) ⇒ ActionsRpcSyncedRequestDto
Returns a new instance of ActionsRpcSyncedRequestDto.
29 30 31 32 33 34 35 36 |
# File 'lib/stack_one/models/shared/actionsrpcsyncedrequestdto.rb', line 29 def initialize(action:, body: nil, filter: nil, headers: nil, path: nil, query: nil) @action = action @body = body @filter = filter @headers = headers @path = path @query = query end |
Instance Method Details
#==(other) ⇒ Object
39 40 41 42 43 44 45 46 47 48 |
# File 'lib/stack_one/models/shared/actionsrpcsyncedrequestdto.rb', line 39 def ==(other) return false unless other.is_a? self.class return false unless @action == other.action return false unless @body == other.body return false unless @filter == other.filter return false unless @headers == other.headers return false unless @path == other.path return false unless @query == other.query true end |