lib/wercker_api/application/workflow.rb in wercker_api-0.1.10 vs lib/wercker_api/application/workflow.rb in wercker_api-1.0.1
- old
+ new
@@ -58,11 +58,11 @@
updatedAt
end
end
class Workflow
- INDEX = -> (version) { "/api/#{version}/workflows" }
- SHOW = -> (version, workflow_id) { "/api/#{version}/workflows/#{workflow_id}" }
+ INDEX = ->(version) { "/api/#{version}/workflows" }
+ SHOW = ->(version, workflow_id) { "/api/#{version}/workflows/#{workflow_id}" }
include Virtus.model
attribute :id, String
attribute :url, String