Class: Spaceship::ConnectAPI::ResetRatingsRequest

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
spaceship/lib/spaceship/connect_api/models/reset_ratings_request.rb

Instance Attribute Summary collapse

Attributes included from Model

#id

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Model

#attr_mapping, included, #initialize, #to_json, #update_attributes

Instance Attribute Details

#reset_dateObject

Returns the value of attribute reset_date


7
8
9
# File 'spaceship/lib/spaceship/connect_api/models/reset_ratings_request.rb', line 7

def reset_date
  @reset_date
end

Class Method Details

.typeObject


13
14
15
# File 'spaceship/lib/spaceship/connect_api/models/reset_ratings_request.rb', line 13

def self.type
  return "resetRatingsRequests"
end

Instance Method Details

#delete!(filter: {}, includes: nil, limit: nil, sort: nil) ⇒ Object

API


21
22
23
# File 'spaceship/lib/spaceship/connect_api/models/reset_ratings_request.rb', line 21

def delete!(filter: {}, includes: nil, limit: nil, sort: nil)
  Spaceship::ConnectAPI.delete_reset_ratings_request(reset_ratings_request_id: id)
end