Class: SDM::RoleCreateResponse
- Inherits:
-
Object
- Object
- SDM::RoleCreateResponse
- Defined in:
- lib/models/porcelain.rb
Overview
RoleCreateResponse reports how the Roles were created in the system. It can communicate partial successes or failures.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
-
#role ⇒ Object
The created Role.
Instance Method Summary collapse
-
#initialize(meta: nil, role: nil, rate_limit: nil) ⇒ RoleCreateResponse
constructor
A new instance of RoleCreateResponse.
Constructor Details
#initialize(meta: nil, role: nil, rate_limit: nil) ⇒ RoleCreateResponse
Returns a new instance of RoleCreateResponse.
3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 |
# File 'lib/models/porcelain.rb', line 3917 def initialize( meta:nil \ , role:nil \ , rate_limit:nil \ ) if != nil @meta = end if role != nil @role = role end if rate_limit != nil @rate_limit = rate_limit end end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
3912 3913 3914 |
# File 'lib/models/porcelain.rb', line 3912 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
3916 3917 3918 |
# File 'lib/models/porcelain.rb', line 3916 def rate_limit @rate_limit end |
#role ⇒ Object
The created Role.
3914 3915 3916 |
# File 'lib/models/porcelain.rb', line 3914 def role @role end |