module Mashery class Service < RpcClient::Base attr_accessor :service_key, :name, :limits, :created, :updated, :object_type def activity(options = {}) Mashery.rest.activity("developer_activity", service_key, start_date: 1.day.ago, end_date: 0.days.ago) end end end