Class: SDM::RoleGetResponse
- Inherits:
-
Object
- Object
- SDM::RoleGetResponse
- Defined in:
- lib/models/porcelain.rb
Overview
RoleGetResponse returns a requested Role.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
-
#role ⇒ Object
The requested Role.
Instance Method Summary collapse
-
#initialize(meta: nil, role: nil, rate_limit: nil) ⇒ RoleGetResponse
constructor
A new instance of RoleGetResponse.
Constructor Details
#initialize(meta: nil, role: nil, rate_limit: nil) ⇒ RoleGetResponse
Returns a new instance of RoleGetResponse.
3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 |
# File 'lib/models/porcelain.rb', line 3943 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.
3938 3939 3940 |
# File 'lib/models/porcelain.rb', line 3938 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
3942 3943 3944 |
# File 'lib/models/porcelain.rb', line 3942 def rate_limit @rate_limit end |
#role ⇒ Object
The requested Role.
3940 3941 3942 |
# File 'lib/models/porcelain.rb', line 3940 def role @role end |