Class: RoadForest::Augment::Affordance::Create
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
143
144
145
|
# File 'lib/roadforest/augment/affordance.rb', line 143
def affordance_type
Af.Create
end
|
#get_payload(resource) ⇒ Object
135
136
137
|
# File 'lib/roadforest/augment/affordance.rb', line 135
def get_payload(resource)
resource.interface.create_payload
end
|
#http_method ⇒ Object
139
140
141
|
# File 'lib/roadforest/augment/affordance.rb', line 139
def http_method
"POST"
end
|