Class: MisarBlog::Models::TrialStatus

Inherits:
Base
  • Object
show all
Defined in:
lib/misarblog/models.rb

Overview

Trial eligibility/status (GET /trial).

Instance Attribute Summary

Attributes inherited from Base

#raw

Instance Method Summary collapse

Methods inherited from Base

#[], #initialize, #to_h

Constructor Details

This class inherits a constructor from MisarBlog::Models::Base

Instance Method Details

#activeObject



117
# File 'lib/misarblog/models.rb', line 117

def active;        @raw["active"];        end

#daysObject



120
# File 'lib/misarblog/models.rb', line 120

def days;          @raw["days"];          end

#eligibleObject



116
# File 'lib/misarblog/models.rb', line 116

def eligible;      @raw["eligible"];      end

#ends_atObject



118
# File 'lib/misarblog/models.rb', line 118

def ends_at;       @raw["ends_at"];       end

#plan_slugObject



119
# File 'lib/misarblog/models.rb', line 119

def plan_slug;     @raw["plan_slug"];     end

#reasonObject



122
# File 'lib/misarblog/models.rb', line 122

def reason;        @raw["reason"];        end

#requires_cardObject



121
# File 'lib/misarblog/models.rb', line 121

def requires_card; @raw["requires_card"]; end