Class: Clerk::Models::Operations::ListInvitationsRequest
- Inherits:
-
Object
- Object
- Clerk::Models::Operations::ListInvitationsRequest
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/operations/listinvitations_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(status: nil, query: nil, paginated: nil, order_by: '-created_at', limit: 10, offset: 0) ⇒ ListInvitationsRequest
constructor
A new instance of ListInvitationsRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(status: nil, query: nil, paginated: nil, order_by: '-created_at', limit: 10, offset: 0) ⇒ ListInvitationsRequest
Returns a new instance of ListInvitationsRequest.
39 40 41 42 43 44 45 46 |
# File 'lib/clerk/models/operations/listinvitations_request.rb', line 39 def initialize(status: nil, query: nil, paginated: nil, order_by: '-created_at', limit: 10, offset: 0) @status = status @query = query @paginated = paginated @order_by = order_by @limit = limit @offset = offset end |
Instance Method Details
#==(other) ⇒ Object
49 50 51 52 53 54 55 56 57 58 |
# File 'lib/clerk/models/operations/listinvitations_request.rb', line 49 def ==(other) return false unless other.is_a? self.class return false unless @status == other.status return false unless @query == other.query return false unless @paginated == other.paginated return false unless @order_by == other.order_by return false unless @limit == other.limit return false unless @offset == other.offset true end |