lib/survey_gizmo/api/account_teams.rb in survey-gizmo-ruby-5.0.3 vs lib/survey_gizmo/api/account_teams.rb in survey-gizmo-ruby-5.0.4

- old
+ new

@@ -1,19 +1,17 @@ # This REST endpoint is only available to accounts with admin privileges # This code is untested. -module SurveyGizmo - module API - class AccountTeams - include SurveyGizmo::Resource +module SurveyGizmo::API + class AccountTeams + include SurveyGizmo::Resource - attribute :id, Integer - attribute :teamid, Integer - attribute :teamname, String - attribute :color, String - attribute :default_role, String - attribute :status, String + attribute :id, Integer + attribute :teamid, Integer + attribute :teamname, String + attribute :color, String + attribute :default_role, String + attribute :status, String - @route = '/accountteams' - end + @route = '/accountteams' end end