Sha256: e8b413af3f158ab1c31b651443ba0943dbf2541837dba60633ae81f32f3733d3

Contents?: true

Size: 289 Bytes

Versions: 5

Compression:

Stored size: 289 Bytes

Contents

module Masheri
  class Service < RestClient::Base
    attr_accessor :service_key, :name, :limits, :created, :updated, :object_type

    def activity(options = {})
      Masheri.rest.activity("developer_activity", service_key, start_date: 1.day.ago, end_date: 0.days.ago)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
masheri-0.5.6 lib/masheri/service.rb
masheri-0.5.5 lib/masheri/service.rb
masheri-0.5.2 lib/masheri/service.rb
masheri-0.5.1 lib/masheri/service.rb
masheri-0.5.0 lib/masheri/service.rb