class ActionTexter::Request

Attributes

body[RW]
response[R]

Public Class Methods

new(body) click to toggle source
# File lib/action_texter/request.rb, line 10
def initialize(body)
  @body = body
end

Public Instance Methods

perform() click to toggle source
# File lib/action_texter/request.rb, line 14
def perform
  fail NotImplementedError if valid?
end
valid?() click to toggle source
# File lib/action_texter/request.rb, line 18
def valid?
  ActionTexter::Validator::Request.new
end