lib/fastly.rb in fastly-2.4.0 vs lib/fastly.rb in fastly-2.5.0

- old
+ new

@@ -32,10 +32,11 @@ require 'fastly/settings' require 'fastly/snippet' require 'fastly/dynamic_snippet' require 'fastly/sumologic_logging' require 'fastly/syslog' +require 'fastly/token' require 'fastly/s3_logging' require 'fastly/gcs_logging' require 'fastly/user' require 'fastly/vcl' require 'fastly/version' @@ -149,10 +150,10 @@ # Fetches the list of codes for regions that are covered by the Fastly CDN service. def regions client.get_stats('/stats/regions') end - [ACL, ACLEntry, User, Customer, Backend, CacheSetting, Condition, Dictionary, DictionaryItem, Director, Domain, Header, Healthcheck, Gzip, Match, PapertrailLogging, RequestSetting, ResponseObject, Service, Snippet, S3Logging, Syslog, VCL, Version].each do |klass| + [ACL, ACLEntry, User, Customer, Backend, CacheSetting, Condition, Dictionary, DictionaryItem, Director, Domain, Header, Healthcheck, Gzip, Match, PapertrailLogging, RequestSetting, ResponseObject, Service, Snippet, S3Logging, Syslog, Token, VCL, Version].each do |klass| type = Util.class_to_path(klass) if klass.respond_to?(:pluralize) plural = klass.pluralize else