Class: SDM::ResourceGetResponse
- Inherits:
-
Object
- Object
- SDM::ResourceGetResponse
- Defined in:
- lib/models/porcelain.rb
Overview
ResourceGetResponse returns a requested Resource.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
-
#resource ⇒ Object
The requested Resource.
Instance Method Summary collapse
-
#initialize(meta: nil, resource: nil, rate_limit: nil) ⇒ ResourceGetResponse
constructor
A new instance of ResourceGetResponse.
Constructor Details
#initialize(meta: nil, resource: nil, rate_limit: nil) ⇒ ResourceGetResponse
Returns a new instance of ResourceGetResponse.
3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 |
# File 'lib/models/porcelain.rb', line 3649 def initialize( meta:nil \ , resource:nil \ , rate_limit:nil \ ) if != nil @meta = end if resource != nil @resource = resource end if rate_limit != nil @rate_limit = rate_limit end end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
3644 3645 3646 |
# File 'lib/models/porcelain.rb', line 3644 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
3648 3649 3650 |
# File 'lib/models/porcelain.rb', line 3648 def rate_limit @rate_limit end |
#resource ⇒ Object
The requested Resource.
3646 3647 3648 |
# File 'lib/models/porcelain.rb', line 3646 def resource @resource end |