Sha256: f21afab3582f070ad0a930e59358a8ede6323c9132df4c901a4274142c6bbd5e

Contents?: true

Size: 757 Bytes

Versions: 4

Compression:

Stored size: 757 Bytes

Contents

module WerckerAPI
  class Run
    class Step

      include Virtus.model

      attribute :id,           String
      attribute :url,          String
      attribute :artifactsUrl, String
      attribute :logUrl,       String
      attribute :order,        Integer
      attribute :createdAt,    Time
      attribute :finishedAt,   Time
      attribute :startedAt,    Time
      attribute :status,       String
      attribute :result,       String
      attribute :step,         String

      def artifacts_url
        artifactsUrl
      end

      def log_url
        logUrl
      end

      def created_at
        createdAt
      end

      def started_at
        startedAt
      end

      def finished_at
        finishedAt
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wercker_api-1.0.8 lib/wercker_api/run/step.rb
wercker_api-1.0.6 lib/wercker_api/run/step.rb
wercker_api-1.0.4 lib/wercker_api/run/step.rb
wercker_api-1.0.2 lib/wercker_api/run/step.rb