lib/wordnik/operation.rb in wordnik-0.4.3 vs lib/wordnik/operation.rb in wordnik-0.4.4
- old
+ new
@@ -4,10 +4,10 @@
require 'active_model'
include ActiveModel::Validations
include ActiveModel::Conversion
extend ActiveModel::Naming
- attr_accessor :endpoint, :http_method, :summary, :notes, :parameters, :response, :open, :nickname, :deprecated
+ attr_accessor :endpoint, :http_method, :summary, :notes, :parameters, :response, :open, :nickname, :deprecated, :category, :suggested_name
validates_presence_of :endpoint, :http_method, :summary, :notes, :parameters, :response, :open
def initialize(endpoint, attributes = {})
self.endpoint = endpoint
\ No newline at end of file