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