lib/survey_gizmo/api/account_teams.rb in survey-gizmo-ruby-4.1.0 vs lib/survey_gizmo/api/account_teams.rb in survey-gizmo-ruby-5.0.2
- old
+ new
@@ -11,14 +11,9 @@
attribute :teamname, String
attribute :color, String
attribute :default_role, String
attribute :status, String
- route '/accountteams/:id', via: [:get, :update, :delete]
- route '/accountteams', via: :create
-
- def to_param_options
- { id: self.id }
- end
+ @route = '/accountteams'
end
end
end