Class: RoadForest::Augment::Affordance::Update
Instance Method Summary
collapse
#applicable?, #apply
#each_grant_token
#canonical_uri, #initialize, object_follows, object_precedes, register_for_objects, register_for_subjects, #router, subject_follows, subject_precedes
Instance Method Details
#affordance_type ⇒ Object
127
128
129
|
# File 'lib/roadforest/augment/affordance.rb', line 127
def affordance_type
Af.Update
end
|
#get_payload(resource) ⇒ Object
119
120
121
|
# File 'lib/roadforest/augment/affordance.rb', line 119
def get_payload(resource)
resource.interface.update_payload
end
|
#http_method ⇒ Object
123
124
125
|
# File 'lib/roadforest/augment/affordance.rb', line 123
def http_method
"PUT"
end
|