Sha256: d84eeca878c25d15fd830b5340ac5fcf0b4a5ce00f094d9444cc3abacb846f74

Contents?: true

Size: 340 Bytes

Versions: 5

Compression:

Stored size: 340 Bytes

Contents

module Desk
  class Client
    module Insight

      def show_insights_meta
        get("insights3/meta")
      end
      alias_method :insights_meta, :show_insights_meta

      def create_insights_report(*args)
        options = args.last.is_a?(Hash) ? args.pop : {}
        post("insights3/reports", options)
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
desk-1.2.0 lib/desk/client/insight.rb
desk-1.1.1 lib/desk/client/insight.rb
desk-1.1.0 lib/desk/client/insight.rb
desk-1.0.10 lib/desk/client/insight.rb
desk-1.0.9 lib/desk/client/insight.rb