Sha256: 727f1c97eaafaac239e1f19df1350b2d383d97c3db0e740fee34f6016946c9c7

Contents?: true

Size: 338 Bytes

Versions: 9

Compression:

Stored size: 338 Bytes

Contents

module Desk
  class Client
    module Insight

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

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

    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
desk-1.0.8 lib/desk/client/insight.rb
desk-1.0.7 lib/desk/client/insight.rb
desk-1.0.6 lib/desk/client/insight.rb
desk-1.0.5 lib/desk/client/insight.rb
desk-1.0.4 lib/desk/client/insight.rb
desk-1.0.3 lib/desk/client/insight.rb
desk-1.0.2 lib/desk/client/insight.rb
desk-1.0.1 lib/desk/client/insight.rb
desk-1.0.0 lib/desk/client/insight.rb