Class: Clerk::Models::Operations::ListOrganizationRolesRequest
- Inherits:
-
Object
- Object
- Clerk::Models::Operations::ListOrganizationRolesRequest
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/operations/listorganizationroles_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(query: nil, order_by: '-created_at', limit: 10, offset: 0) ⇒ ListOrganizationRolesRequest
constructor
A new instance of ListOrganizationRolesRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(query: nil, order_by: '-created_at', limit: 10, offset: 0) ⇒ ListOrganizationRolesRequest
Returns a new instance of ListOrganizationRolesRequest.
34 35 36 37 38 39 |
# File 'lib/clerk/models/operations/listorganizationroles_request.rb', line 34 def initialize(query: nil, order_by: '-created_at', limit: 10, offset: 0) @query = query @order_by = order_by @limit = limit @offset = offset end |
Instance Method Details
#==(other) ⇒ Object
42 43 44 45 46 47 48 49 |
# File 'lib/clerk/models/operations/listorganizationroles_request.rb', line 42 def ==(other) return false unless other.is_a? self.class return false unless @query == other.query return false unless @order_by == other.order_by return false unless @limit == other.limit return false unless @offset == other.offset true end |