Class: SDM::ResourceCreateResponse
- Inherits:
-
Object
- Object
- SDM::ResourceCreateResponse
- Defined in:
- lib/models/porcelain.rb
Overview
ResourceCreateResponse reports how the Resources were created in the system.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
-
#resource ⇒ Object
The created Resource.
Instance Method Summary collapse
-
#initialize(meta: nil, resource: nil, rate_limit: nil) ⇒ ResourceCreateResponse
constructor
A new instance of ResourceCreateResponse.
Constructor Details
#initialize(meta: nil, resource: nil, rate_limit: nil) ⇒ ResourceCreateResponse
Returns a new instance of ResourceCreateResponse.
3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 |
# File 'lib/models/porcelain.rb', line 3623 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.
3618 3619 3620 |
# File 'lib/models/porcelain.rb', line 3618 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
3622 3623 3624 |
# File 'lib/models/porcelain.rb', line 3622 def rate_limit @rate_limit end |
#resource ⇒ Object
The created Resource.
3620 3621 3622 |
# File 'lib/models/porcelain.rb', line 3620 def resource @resource end |