def apply!(ticket = nil)
      path = "#{self.path}/apply"

      if ticket
        path = "#{ticket.path}/#{path}"
      end

      response = @client.connection.get(path)
      SilentMash.new(response.body.fetch("result", {}))
    end
def apply!(ticket = nil)
      path = "

      if ticket
        path = "
      end

      response = @client.connection.get(path)
      SilentMash.new(response.body.fetch("result", {}))
    end
def apply! ( ticket = nil ) path = "#{self.path}/apply" if ticket path = "#{ticket.path}/#{path}" end response = @client . connection . get ( path ) SilentMash . new ( response . body . fetch ( "result" , { } ) ) end
Returns the update to a ticket that happens when a macro will be applied.
 @param [Ticket] ticket Optional {Ticket} to apply this macro to.
 @raise [Faraday::Error::ClientError] Raised for any non-200 response.
Returns the update to a ticket that happens when a macro will be applied .